package com.spider.usercenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spider.usercenter.model.domain.User;

import javax.servlet.http.HttpServletRequest;
import java.io.Serializable;

/**
* @author AS笔墨白
* @description 针对表【user(用户)】的数据库操作Service
* @createDate 2024-08-03 21:30:56
*/
public interface UserService extends IService<User> {
long userRegister(String userAccount, String userPassword, String checkPassword,String planetCode);

User userLogin(String userAccount, String userPassword, HttpServletRequest request);

     final String USER_LOGIN_STATE="userLoginState";

User getSafetyUser(User originalUser);

int userLogout(HttpServletRequest request);
}
